<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        canvas {
            width: 1000px;
            height: 600px;
            border: 1px solid;
        }
    </style>
</head>

<body>
    <canvas id="jgt"></canvas>

    <script>
        // const canvas = document.getElementById('jgt')
        // const ctx = canvas.getContext('2d')
        const data = [
            {
                title: '上游',
                column: 3,
                children: [
                    {
                        title: '感知层',
                        column: 3,
                        children: [
                            { title: '车载摄像头' },
                            { title: '超声波雷达' },
                            { title: '毫米波雷达' },
                            { title: '激光雷达' },
                        ]
                    },
                    {
                        title: '执行层',
                        column: 3,
                        children: [
                            { title: '感知层' }
                        ]
                    }
                ]
            }
        ]
    </script>
</body>

</html>